package jnpf.granter;

import jnpf.base.ActionResult;
import jnpf.exception.LoginException;

import java.util.Map;


/**
 *
 */
public interface TokenGranter {

    ActionResult granter(Map<String, String> loginParameters) throws LoginException;


    ActionResult logout();

    boolean requiresAuthentication();

}
